<include file="Public:header"/>
<div class="span3 ">
    <table class="table table-striped">
        <tr>
            <td>#</td>
            <td>{$task.itemid}</td>
        </tr>
        <tr>
            <td>品牌</td>
            <td>{$task.brand}</td>
        </tr>
        <tr>
            <td>开始数量</td>
            <td>{$task.now_count}</td>
        </tr>
        <tr>
            <td>结束数量</td>
            <td>{$task.end_count}</td>
        </tr>
        <tr>
            <td>状态</td>
            <td>{$task.status}</td>
        </tr>
        <tr>
            <td>创建时间</td>
            <td>{$task.add_time|date="Y-m-d",###}</td>
        </tr>
        <tr>
            <td>结束时间</td>
            <td>{$task.end_time|date="Y-m-d",###}</td>
        </tr>
        <tr>
            <td>备注</td>
            <td>{$task.note}</td>
        </tr>
    </table>
</div>
<div class="span3">
    <table class="table table-striped span3">
        <tr>
            <td>#</td>
            <td>{$plan.itemid}</td>
        </tr>
        <tr>
            <td>标题</td>
            <td>{$plan.title}</td>
        </tr>
        <tr>
            <td>备注</td>
            <td>{$plan.note}</td>
        </tr>
    </table>
</div>
<notempty name="allot">
    <div class="span3">
        <table class="table table-striped span3">
            <tr>
                <td>#</td>
                <td>{$allot.itemid}</td>
            </tr>
            <tr>
                <td>USER</td>
                <td>{$allot.uid}</td>
            </tr>
            <tr>
                <td>分配时间</td>
                <td>{$allot.add_time|date="Y-m-d",###}</td>
            </tr>
        </table>
    </div>
</notempty>
<div class="clear"></div>
<if condition="(($task['status'] eq 1) OR ($task['status'] eq 2) )AND (empty($cancel))">
    <div class="span3">
        <form class="well" action="" method="post">
            <textarea class="input-medium" id="textarea" name="note"></textarea>
            <input class="btn btn-primary" type="submit" value="作废">
            <input name="status" value="99" type="hidden"/>
        </form>
    </div>
</if>
<if condition="$task['status'] eq 99">
    <div class="span3">
        <form class="well" action="" method="post">
            <input class="btn btn-primary" type="submit" value="恢复">
            <input name="status" value="2" type="hidden"/>
        </form>
    </div>
</if>
<include file="Public:footer"/>